<script>
	export default {
		onLaunch: function() {
			// let en = window.navigator.userAgent.toLowerCase()
			// // 匹配en中是否含有MicroMessenger字符串
			// if (en.match(/MicroMessenger/i) == 'micromessenger') {
			// 	alert("在微信",11111)
			// }
			// if(en.match(/MicroMessenger/i) != 'micromessenger'){
			// 	alert("不在微信",2222)
			// }
			console.log('App Launch')

		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		globalData: {
			passwordStatus: -1,
			districts: [],
			userInfo: {
				spouse: {
					minAge: "",
					maxAge: "",
					minHeight: "",
					maxHeight: "",
					income: "",
					education: ""
				}
			},
			authInfo: {
				nameauth: 0,
				singleauth: 0,
				educationauth: 0,
				houseauth: 0,
			},
			currentMenu: 'home'
		},
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";

	/*每个页面公共css */
	// font-face {
	//   font-family: "Source Han Sans";
	//   src: url('@/static/fonts/SourceHanSansCN-Normal.otf');  //此处需替换为真实字体地址
	// }
	// font-face {
	//   font-family: "Alimama_ShuHeiTi_Bold";
	//   src: url('https://asetdisk.oss-cn-beijing.aliyuncs.com/marriage/assets/AlimamaShuHeiTi-Bold.ttf');  //此处需替换为真实字体地址
	// }
	view,
	text {
		font-family: 'Source Han Sans';
		font-size: 32rpx;
	}

	.container {
		height: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
		padding: 200rpx 0;
		box-sizing: border-box;
	}

	image {
		width: 200rpx;
		height: 100rpx;
	}

	.my-input {
		display: flex;
		height: 90rpx;
		align-items: center;
		padding: 0 40rpx;
		justify-content: space-between;
		border-radius: 20rpx;
		margin-top: 40rpx;
		background-color: rgba(245, 245, 255, 1);

		.uni-input {
			width: 80%;
		}

		.uni-input-input {
			font-size: 32rpx;
		}

		.uni-input-placeholder {
			font-size: 32rpx;
			color: rgba(204, 204, 204, 1);
		}
	}

	.code .uni-input {
		width: 50%;
		/* background-color: #99dcff; */
	}

	.treaty {
		width: 80%;
		padding: 10rpx 0;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 24rpx;
		margin: 10rpx auto;
		color: #A6A6A6;

		.circle {
			width: 25rpx;
			height: 25rpx;
			border-radius: 20rpx;
			margin: 0 10rpx;
			border: 1rpx solid #A6A6A6;
		}

		.agree {
			display: flex;
			padding: 10rpx 0;
			align-items: center;

			image {
				width: 30rpx;
				height: 30rpx;
				margin: 0 10rpx;
			}
		}

		text {
			color: #9C9CFF;
		}
	}

	button[type=primary] {
		border-radius: 50rpx;
		margin-top: 40rpx;
		border: none;
		padding: 0;
		font-size: 32rpx;
		line-height: 80rpx;
		background-color: rgba(156, 156, 255, 1) !important;
	}

	button::after {
		border: none !important;
	}

	.banxin {
		padding: 0 7.5vw;
		border-radius: 20rpx;
	}

	.scroll {
		height: 73vh;
		margin-top: -120rpx;
		border-radius: 20rpx;
		overflow: hidden;
		// background-color: rgb(186, 15, 192);
	}

	.page_title {
		z-index: 0;
		width: 100vw;
		height: 180rpx;
		display: flex;
		justify-content: space-between;
		// align-items: center;
		overflow: hidden;
		padding: 20rpx 50rpx;
		border-radius: 0 0 40rpx 40rpx;
		box-sizing: border-box;
		background-color: rgba(156, 156, 255, 1);

		.page_name {
			margin-top: 65rpx;
			font-size: 36rpx;
			line-height: 65rpx;
			font-weight: 500;
			color: white;
			line-height: 52rpx;
		}

		.blank {
			width: 65rpx;
		}
	}

	::-webkit-scrollbar {
		display: none;
		width: 4px;
		height: 4px;
	}

	::-webkit-scrollbar-track {
		background-color: #FFFFFF;
		border-radius: 10px;
	}

	::-webkit-scrollbar-thumb {
		background-color: #39b54a;
		border-radius: 10px;
	}
</style>